var centerPanel = function() {
	return {
		getCenterPanel : function() {

			var blankPanel = new Ext.Panel({
				html : '<table width=100%><tr height=60><td></td></tr><tr align=center><td>欢迎使用本系统，请选择左侧菜单进行操作!</td></tr></table>'
			});

			var mainpanel = new Ext.Panel({
				id : 'mainPanel',
				region : 'center',
				layout : 'fit',
				items : [ blankPanel ]
			});

			var centerPanel = Ext.create("Ext.panel.Panel", {
				region : 'center',
				layout : 'border',
				border : false,
				items : [ mainpanel, {
					region : 'west',
					title : '菜单',
					width : 180,
					layout : 'fit',
					items : [ menuPanel.getMenuPanel() ]
				} ]
			});

			var titleStr = "<table border=0 width=100%><tr><td><img src=images/index_01.jpg></td><td></td></tr></table>";

			var northPanel = Ext
					.create(
							"Ext.panel.Panel",
							{
								bodyStyle : "padding:0px;background-image:url('images/index_02bg.jpg')",
								height : 60,
								border : false,
								region : "north",
								html : "<table border=0 width=100%><tr><td><img src=images/index_01.jpg></td><td></td><td background= images/index_02.jpg width=450><table border=0 width=100%><tr height=35><td></td></tr><tr><td align=center class=bodyfont>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=images/icons/group.png>&nbsp;欢迎:admin&nbsp;<img src=images/split.jpg>&nbsp;<img src=images/arr01.png>&nbsp;个人信息&nbsp;<img src=images/split.jpg>&nbsp;<img src=images/arr01.png>&nbsp;在线帮助&nbsp;<img src=images/split.jpg>&nbsp;<a onclick='exitSystem();' style=cursor:hand><img src=images/arr01.png>&nbsp;退出系统</a></td></tr></table></td></tr></table>"
							});
			//			
			// var northPanel = Ext.create("Ext.panel.Panel",{
			// bodyStyle:"padding:0px;background-image:url('images/index_02bg.jpg')",
			// height:84,
			// border:false,
			// region:"north"
			// ,html : titleStr
			// });

			var panel = Ext.create("Ext.panel.Panel", {
				layout : 'border',
				items : [ northPanel, centerPanel
				// ,
				// {
				// region:'south',
				// height: 25,
				// id:'southPanel',
				// title:'<div align=center>联系：黄文清 13811175575
				// kevin.hwq@gmail.com</div>'
				// }
				]
			});

			return panel;
		}
	};
}();